#!/bin/bash
# $1: e.g. ~/.zshrc or ~/.bashrc

# PS1="\[\e[31;47m\]> \[\033[0m"
# PROMPT='%F{green}%n@%m%f:%F{blue}%~%f %# '

if command -v apt > /dev/null; then
    echo 'source /usr/share/autojump/autojump.sh' >> $1
fi

cp .env ~/
cp .aliases ~/

echo '
if [ -f ~/.env ]; then
    source ~/.env
fi
if [ -f ~/.aliases ]; then
    source ~/.aliases
fi
' >> $1

# cat .env >> $1
# cat .aliases >> $1
